package com.bian.spring.annotation.cd;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author bian
 * @since 1.0
 * 2021/2/4
 */

@Component
public class AClass {

    @Autowired
    private BClass bClass;

    public AClass() {
        System.out.println("AClass...construct");
    }

    public BClass getbClass() {
        return bClass;
    }

    public void setbClass(BClass bClass) {
        this.bClass = bClass;
    }
}
